package com.ctrip.cap.device;

import java.awt.image.BufferedImage;
import java.util.Locale;

/**
 * ios/android
 * 
 * @author ltyao
 *
 */
public interface Device {

	String getSerialNumber();

	Locale getLocale();

	void tap(int x, int y);

	void swipe(int x1, int y1, int x2, int y2);

	BufferedImage takeScreenshot();

	void takeScreenshot(String fileUrl);
}